package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_report].[dbo].TP_ShopAnalysisReportForms", catalog="Id")
public class TpShopAnalysisReportForms extends BaseEntity<TpShopAnalysisReportForms> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="InfoTime", nameJava="infoTime", typeDataBase="char")
	private String infoTime;
	@YsField(nameDataBase="ShopGuid", nameJava="shopGuid", typeDataBase="varchar")
	private String shopGuid;
	@YsField(nameDataBase="CompanyGuid", nameJava="companyGuid", typeDataBase="varchar")
	private String companyGuid;
	@YsField(nameDataBase="UserId", nameJava="userId", typeDataBase="varchar")
	private String userId;
	@YsField(nameDataBase="DeptId", nameJava="deptId", typeDataBase="varchar")
	private String deptId;
	@YsField(nameDataBase="Prepayment", nameJava="prepayment", typeDataBase="decimal")
	private BigDecimal prepayment;
	@YsField(nameDataBase="StartSubmitTime", nameJava="startSubmitTime", typeDataBase="datetime")
	private Date startSubmitTime;
	@YsField(nameDataBase="RecoveryTime", nameJava="recoveryTime", typeDataBase="datetime")
	private Date recoveryTime;
	@YsField(nameDataBase="RecoveryCycle", nameJava="recoveryCycle", typeDataBase="int")
	private Integer recoveryCycle;
	@YsField(nameDataBase="TotalSubmitMoney", nameJava="totalSubmitMoney", typeDataBase="decimal")
	private BigDecimal totalSubmitMoney;
	@YsField(nameDataBase="MonthFirstMoney", nameJava="monthFirstMoney", typeDataBase="decimal")
	private BigDecimal monthFirstMoney;
	@YsField(nameDataBase="TotalOrder", nameJava="totalOrder", typeDataBase="int")
	private Integer totalOrder;
	@YsField(nameDataBase="TotalSale", nameJava="totalSale", typeDataBase="decimal")
	private BigDecimal totalSale;
	@YsField(nameDataBase="AmazonBack", nameJava="amazonBack", typeDataBase="decimal")
	private BigDecimal amazonBack;
	@YsField(nameDataBase="MeritsManage", nameJava="meritsManage", typeDataBase="decimal")
	private BigDecimal meritsManage;
	@YsField(nameDataBase="ProcureCost", nameJava="procureCost", typeDataBase="decimal")
	private BigDecimal procureCost;
	@YsField(nameDataBase="FirstLegCost", nameJava="firstLegCost", typeDataBase="decimal")
	private BigDecimal firstLegCost;
	@YsField(nameDataBase="LogisticsCost", nameJava="logisticsCost", typeDataBase="decimal")
	private BigDecimal logisticsCost;
	@YsField(nameDataBase="StorageCost", nameJava="storageCost", typeDataBase="decimal")
	private BigDecimal storageCost;
	@YsField(nameDataBase="PackCost", nameJava="packCost", typeDataBase="decimal")
	private BigDecimal packCost;
	@YsField(nameDataBase="MonthDay", nameJava="monthDay", typeDataBase="int")
	private Integer monthDay;
	@YsField(nameDataBase="FastMailCost", nameJava="fastMailCost", typeDataBase="decimal")
	private BigDecimal fastMailCost;
	@YsField(nameDataBase="MeritsAllocation", nameJava="meritsAllocation", typeDataBase="decimal")
	private BigDecimal meritsAllocation;
	@YsField(nameDataBase="OrgName", nameJava="orgName", typeDataBase="varchar")
	private String orgName;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpShopAnalysisReportForms setId(Long id) {
		this.id = id;
		return this;
	}
	public String getInfoTime() {
		return infoTime;
	}
	public TpShopAnalysisReportForms setInfoTime(String infoTime) {
		this.infoTime = infoTime;
		return this;
	}
	public String getShopGuid() {
		return shopGuid;
	}
	public TpShopAnalysisReportForms setShopGuid(String shopGuid) {
		this.shopGuid = shopGuid;
		return this;
	}
	public String getCompanyGuid() {
		return companyGuid;
	}
	public TpShopAnalysisReportForms setCompanyGuid(String companyGuid) {
		this.companyGuid = companyGuid;
		return this;
	}
	public String getUserId() {
		return userId;
	}
	public TpShopAnalysisReportForms setUserId(String userId) {
		this.userId = userId;
		return this;
	}
	public String getDeptId() {
		return deptId;
	}
	public TpShopAnalysisReportForms setDeptId(String deptId) {
		this.deptId = deptId;
		return this;
	}
	public BigDecimal getPrepayment() {
		return prepayment;
	}
	public TpShopAnalysisReportForms setPrepayment(BigDecimal prepayment) {
		this.prepayment = prepayment;
		return this;
	}
	public Date getStartSubmitTime() {
		return startSubmitTime;
	}
	public TpShopAnalysisReportForms setStartSubmitTime(Date startSubmitTime) {
		this.startSubmitTime = startSubmitTime;
		return this;
	}
	public Date getRecoveryTime() {
		return recoveryTime;
	}
	public TpShopAnalysisReportForms setRecoveryTime(Date recoveryTime) {
		this.recoveryTime = recoveryTime;
		return this;
	}
	public Integer getRecoveryCycle() {
		return recoveryCycle;
	}
	public TpShopAnalysisReportForms setRecoveryCycle(Integer recoveryCycle) {
		this.recoveryCycle = recoveryCycle;
		return this;
	}
	public BigDecimal getTotalSubmitMoney() {
		return totalSubmitMoney;
	}
	public TpShopAnalysisReportForms setTotalSubmitMoney(BigDecimal totalSubmitMoney) {
		this.totalSubmitMoney = totalSubmitMoney;
		return this;
	}
	public BigDecimal getMonthFirstMoney() {
		return monthFirstMoney;
	}
	public TpShopAnalysisReportForms setMonthFirstMoney(BigDecimal monthFirstMoney) {
		this.monthFirstMoney = monthFirstMoney;
		return this;
	}
	public Integer getTotalOrder() {
		return totalOrder;
	}
	public TpShopAnalysisReportForms setTotalOrder(Integer totalOrder) {
		this.totalOrder = totalOrder;
		return this;
	}
	public BigDecimal getTotalSale() {
		return totalSale;
	}
	public TpShopAnalysisReportForms setTotalSale(BigDecimal totalSale) {
		this.totalSale = totalSale;
		return this;
	}
	public BigDecimal getAmazonBack() {
		return amazonBack;
	}
	public TpShopAnalysisReportForms setAmazonBack(BigDecimal amazonBack) {
		this.amazonBack = amazonBack;
		return this;
	}
	public BigDecimal getMeritsManage() {
		return meritsManage;
	}
	public TpShopAnalysisReportForms setMeritsManage(BigDecimal meritsManage) {
		this.meritsManage = meritsManage;
		return this;
	}
	public BigDecimal getProcureCost() {
		return procureCost;
	}
	public TpShopAnalysisReportForms setProcureCost(BigDecimal procureCost) {
		this.procureCost = procureCost;
		return this;
	}
	public BigDecimal getFirstLegCost() {
		return firstLegCost;
	}
	public TpShopAnalysisReportForms setFirstLegCost(BigDecimal firstLegCost) {
		this.firstLegCost = firstLegCost;
		return this;
	}
	public BigDecimal getLogisticsCost() {
		return logisticsCost;
	}
	public TpShopAnalysisReportForms setLogisticsCost(BigDecimal logisticsCost) {
		this.logisticsCost = logisticsCost;
		return this;
	}
	public BigDecimal getStorageCost() {
		return storageCost;
	}
	public TpShopAnalysisReportForms setStorageCost(BigDecimal storageCost) {
		this.storageCost = storageCost;
		return this;
	}
	public BigDecimal getPackCost() {
		return packCost;
	}
	public TpShopAnalysisReportForms setPackCost(BigDecimal packCost) {
		this.packCost = packCost;
		return this;
	}
	public Integer getMonthDay() {
		return monthDay;
	}
	public TpShopAnalysisReportForms setMonthDay(Integer monthDay) {
		this.monthDay = monthDay;
		return this;
	}
	public BigDecimal getFastMailCost() {
		return fastMailCost;
	}
	public TpShopAnalysisReportForms setFastMailCost(BigDecimal fastMailCost) {
		this.fastMailCost = fastMailCost;
		return this;
	}
	public BigDecimal getMeritsAllocation() {
		return meritsAllocation;
	}
	public TpShopAnalysisReportForms setMeritsAllocation(BigDecimal meritsAllocation) {
		this.meritsAllocation = meritsAllocation;
		return this;
	}
	public String getOrgName() {
		return orgName;
	}
	public TpShopAnalysisReportForms setOrgName(String orgName) {
		this.orgName = orgName;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpShopAnalysisReportForms setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpShopAnalysisReportForms setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpShopAnalysisReportForms setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpShopAnalysisReportForms tpShopAnalysisReportForms(
		String infoTime,
		String shopGuid,
		String companyGuid,
		String userId,
		String deptId,
		BigDecimal prepayment,
		Date startSubmitTime,
		Date recoveryTime,
		Integer recoveryCycle,
		BigDecimal totalSubmitMoney,
		BigDecimal monthFirstMoney,
		Integer totalOrder,
		BigDecimal totalSale,
		BigDecimal amazonBack,
		BigDecimal meritsManage,
		BigDecimal procureCost,
		BigDecimal firstLegCost,
		BigDecimal logisticsCost,
		BigDecimal storageCost,
		BigDecimal packCost,
		Integer monthDay,
		BigDecimal fastMailCost,
		BigDecimal meritsAllocation,
		String orgName,
		Integer status
			) {
		TpShopAnalysisReportForms entity = new TpShopAnalysisReportForms();
		entity.setInfoTime(infoTime);
		entity.setShopGuid(shopGuid);
		entity.setCompanyGuid(companyGuid);
		entity.setUserId(userId);
		entity.setDeptId(deptId);
		entity.setPrepayment(prepayment);
		entity.setStartSubmitTime(startSubmitTime);
		entity.setRecoveryTime(recoveryTime);
		entity.setRecoveryCycle(recoveryCycle);
		entity.setTotalSubmitMoney(totalSubmitMoney);
		entity.setMonthFirstMoney(monthFirstMoney);
		entity.setTotalOrder(totalOrder);
		entity.setTotalSale(totalSale);
		entity.setAmazonBack(amazonBack);
		entity.setMeritsManage(meritsManage);
		entity.setProcureCost(procureCost);
		entity.setFirstLegCost(firstLegCost);
		entity.setLogisticsCost(logisticsCost);
		entity.setStorageCost(storageCost);
		entity.setPackCost(packCost);
		entity.setMonthDay(monthDay);
		entity.setFastMailCost(fastMailCost);
		entity.setMeritsAllocation(meritsAllocation);
		entity.setOrgName(orgName);
		entity.setStatus(status);
		return entity;
	}
}